package com.vhall.component.entity.room.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author jingwen.li
 * @date 2022/2/15
 */
@Data
public class PushStreamSingleRspVO implements Serializable {


    private Integer id;

    @JsonProperty(value = "room_id")
    private String roomId;

    @JsonProperty(value = "name")
    private String name;

    @JsonProperty(value = "key")
    private String skey;

    @JsonProperty(value = "type")
    private Integer type;

    @JsonProperty(value = "rtmps")
    private String rtmps;

    @JsonProperty(value = "cron_push_time")
    private LocalDateTime cronPushTime;

    @JsonProperty(value = "start_time")
    private LocalDateTime startTime;

    @JsonProperty(value = "end_time")
    private LocalDateTime endTime;

    @JsonProperty(value = "created_at")
    private LocalDateTime createdAt;

    @JsonProperty(value = "updated_at")
    private LocalDateTime updatedAt;

    @JsonProperty(value = "status")
    private Integer status;

    @JsonProperty(value = "is_success")
    private Boolean isSuccess;
}
